package com.mk.es.service.entity.imp;

import com.mk.es.service.entity.AbstractEsEntry;

/**
 *  Article 实体
 */
public class ArticleEntity extends AbstractEsEntry {
    private static final long serialVersionUID = -13214234534543454L;

    /**
     *  标题
     */
    private String title;

    /**
     *  副标题
     */
    private String subTitle;

    /**
     *  内容摘要
     */
    private String brief;

    /**
     * 信息来源
     */
    private String source;

    /**
     * 关键词
     */
    private String tags;

    /**
     *  作者
     */
    private String author;

    /**
     * 正文
     */
    private String content;

    /**
     * 创建时间
     */
    private Long createTime;



    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "DemoEntity{" +
                "title='" + title + '\'' +
                ", subTitle='" + subTitle + '\'' +
                ", brief='" + brief + '\'' +
                ", source='" + source + '\'' +
                ", tags='" + tags + '\'' +
                ", author='" + author + '\'' +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                ", id='" + this.getId() + '\'' +
                '}';
    }
}
